RawBitmap Buoy package.

RawBitmap.PixelAlpha Method

Gets the alpha value for pixel at given location

PixelAlpha(
   x as Integer,
   y as Integer) as UInt8

Parameters

x
The x coordinate to set or get (zero based)
y
The x coordinate to set or get (zero based)

Returns

UInt8
The alpha value when using the getter.

Remarks

If the RawBitmap has no alpha channel then this getter / setter function does nothing.

This method has no meaningful result when using CMYK colorspace.

This method does nothing on 16bit per channel bitmaps.

See Also

RawBitmap Class